package com.patrol.inspection.Entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elasticsearch.common.geo.GeoPoint;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.GeoPointField;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//@Document(indexName = "my_geo",type = "test_type")
public class MyGeo {
    private Location location;
//    private String city;
    private String type;
    private Integer id;
    private String createTime;


}
